package br.com.dips.dao;

import java.util.List;

import javax.persistence.Query;

import br.com.dips.enums.Atribuicao;

public class AtribuicaoDAO extends BaseDAO {
	
	@SuppressWarnings("unchecked")
	public List<Atribuicao> listar() {
		Query query = this.getEm().createNamedQuery("Atribuicao.findAll", Atribuicao.class);
		return query.getResultList();
	}
}
